
define([],function(){  
	

	var room_mall = $("#room_mall");
	var room_pw = $("#room_pw");

	return {
		allButton:function(){
			this.mallButton();
			this.pwButton();
		},
		
		
		/*
		 * 商城按钮
		 * */
		mallButton:function(){
			room_mall.click(function(){
				location.href =  Game.getBaseURL()+"/mall.jsp";
			});
		},
		
		/*
		 * 排位按钮
		 * */
		pwButton:function(){
			room_pw.click(function(){
				location.href =  Game.getBaseURL()+"/ranking.jsp";
			});
		}
		
	
	}
}); 